<?php 
class Father{
	public function __construct(){
		echo 'father run';
	}
}
//$f = new Father;

class Son extends Father{

}
//在实例化子类的时候父类的构造方法会自动执行
$s = new Son;

 ?>